home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
gfx
/
misc
/
PCHGLib12.lha
/
MakeVPort_Patch.lha
/
MakeVPort_Patch.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-05-21
|
376b
|
20 lines
#define _USEOLDEXEC_
#include <proto/exec.h>
#include <graphics/view.h>
#include "MakeVPort_Patch_rev.h"
void (*OldFunc)(struct View *, struct ViewPort *);
void MVP_Patch(void);
int _main(void) {
struct GfxBase *GfxBase;
if (GfxBase = OpenLibrary("graphics.library"VERSTAG,37)) {
OldFunc = SetFunction(GfxBase, -(0xd8), (APTR)MVP_Patch);
Wait(0);
}
return(0);
}